<html>
<head>
<title>Ejercicio T2_7</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
<script src="/socket.io/socket.io.js"></script>
<script>
  var socket = io.connect('http://localhost');
  socket.on('news', function (data) {
    console.log(data);
    socket.emit('my other event', { my: 'data' });
  });
</script>
</head>
<body>

<p> Ejercicio T2_7 : <b> Uso de Socket.io <b> </p>
</body>
</html>
